Operational Semantics for PBC with Asynchronous Communication

نویسندگان

  • R. Devillers
  • H. Klaudel
  • M. Koutny
  • E. Pelz
  • F. Pommereau
چکیده

This paper presents two related algebras which can be used to specify and analyse concurrent systems with synchronous and asynchronous communications. The first algebra is based on a class of P/T-nets, called boxes, and their standard transition firing rule. It is an extension of the Petri Box Calculus (PBC). Essentially, the original model is enriched with the introduction of special ‘buffer’ places where different transitions (processes) may deposit and remove tokens, together with an explicit asynchronous communication operator, denoted by tie, allowing to make them ‘private’. We also introduce an algebra of process expressions corresponding to such a net algebra, by augmenting the existing syntax of PBC expressions, and defining a system of SOS rules providing their operational semantics. The two algebras are related through a mapping which, for any extended box expression, returns a corresponding box with an isomorphic transition system. INTRODUCTION This paper is concerned with the theme of relating process algebras, such as CCS [9] and CSP [6], and Petri nets [11]. In general, the approaches proposed in the literature aim at providing a Petri net semantics to process algebras whose definition has been given independently of any Petri nets semantics (see, e.g., [5]). Another way is to translate elements from Petri nets into process algebras such as ACP [1] (see, e.g., [2]). A specific framework and the starting point of the current paper is a concrete process algebra, called the Petri Box Calculus (PBC [3, 4]), designed with the aim of allowing a compositional Petri net semantics. PBC is composed of an algebra of process expressions (called box expressions) with a fully compositional translation into labelled safe Petri nets (called boxes). In this paper, the original PBC is extended by the introduction of special ‘buffer’ places where different transitions (processes) may deposit and remove tokens, together with an explicit asynchronous communication operator, denoted by tie, allowing to make them ‘private’. In the variant of the original PBC considered here, places are labelled by their status symbols (e for entry, x for exit, and i for internal) while transitions are labelled by CCS-like synchronous communication actions, such as a, â, and τ (similarly as in CCS, τ represents an invisible action). The operators considered are: sequence E; E (the execution of E is followed by that of E); choice E2E (either E or E can be executed); parallel composition E‖E ′ (E and E can be executed concurrently); iteration E~E ′ (E can be executed an arbitrary number of times, and is followed by E ); and scoping E sc a (all handshake synchronisations involving pairs of aand â–labelled transitions are enforced, and after that they may no longer be executed alone). We illustrate some of the PBC constructs in figure 1, where the upper net is the translation of the box expression (d2a)‖((â~c)‖a).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modeling Coordination via Asynchronous Communication

The paper proposes a theoretical study of coordination languages. A language that embodies the essential features of coordination languages is considered. The language includes Linda's asynchronous communication primitives, as well as several composition operators. Computations in this language are described by means of an operational semantics, reporting the whole traces of executions. The non...

متن کامل

A Dynamic Binding Strategy for Multiple Inheritance and Asynchronously Communicating Objects

This paper considers an integration of asynchronous communication, virtual binding, and multiple inheritance. Object orientation is the leading paradigm for concurrent and distributed systems, but the tightly synchronized RPC communication model seems unsatisfactory in the distributed setting. Asynchronous messages are better suited, but lack the structure and discipline of traditional object-o...

متن کامل

A sound and complete reasoning system for asynchronous communication with shared futures

Distributed and concurrent object-oriented systems are difficult to analyze due to the complexity of their concurrency, communication, and synchronization mechanisms. We consider the setting of concurrent objects communicating by asynchronous method calls. The future mechanism extends the traditional method call communication model by facilitating sharing of references to futures. By assigning ...

متن کامل

Session Types for Asynchronous Communication

A session type is an abstraction of a sequence of heterogeneous values sent over one communication channel. Session types can be used for specifying stream-based Internet protocols. We consider session types in a setting with asynchronous communication over buffered channels. Due to buffering, a process may write ahead before the reading process picks up the data. Thus the types of the two ends...

متن کامل

Deconstructing behavioural theories of mobility

We re-examine the standard structural operational semantics of the π-calculus with the view that both process structure and contextual observational power should play roles in describing the behavioural theory. To that end we provide a decomposition of the operational semantics of π which allows for a systematic definition of labelled transitions. These are derived from the calculus’ underlying...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002